package com.exonline.base;

import com.fasterxml.jackson.core.JsonProcessingException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.sql.SQLException;

public interface IBaseServlet {
    public void query(HttpServletRequest req, HttpServletResponse resp) throws SQLException, IOException;

    public void delete(HttpServletRequest req, HttpServletResponse resp) throws SQLException, IOException;
    public void queryOne(HttpServletRequest req, HttpServletResponse resp) throws SQLException, IOException;

    public void edit(HttpServletRequest req, HttpServletResponse resp) throws SQLException, IOException;

    public void add(HttpServletRequest req, HttpServletResponse resp) throws SQLException, IOException;

}
